home *** CD-ROM | disk | FTP | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / usr / include / sys / utsname.h.z / utsname.h
C/C++ Source or Header  |  1992-04-03  |  804b  |  44 lines

  1. #ifndef __SYS_UTSNAME_H__
  2. #define __SYS_UTSNAME_H__
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. /*    Copyright (c) 1984 AT&T    */
  9. /*      All Rights Reserved      */
  10.  
  11. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  12. /*    The copyright notice above does not evidence any       */
  13. /*    actual or intended publication of such source code.    */
  14.  
  15. /*#ident    "@(#)kern-port:sys/utsname.h    10.2"*/
  16. #ident    "$Revision: 3.9 $"
  17.  
  18. struct utsname {
  19.     char    sysname[9];
  20.     char    nodename[9];
  21.     char    release[9];
  22.     char    version[9];
  23.     char    machine[9];
  24. };
  25.  
  26. #if defined _KERNEL
  27. extern struct utsname    utsname;
  28. extern char        hostname[];
  29. extern short        hostnamelen;
  30. extern char        domainname[];
  31. extern short        domainnamelen;
  32. #endif
  33.  
  34. #ifndef _KERNEL
  35. extern int uname (struct utsname *);
  36. #endif
  37.  
  38. #ifdef __cplusplus
  39. }
  40. #endif
  41.  
  42. #endif /* !__SYS_UTSNAME_H__ */
  43.  
  44.